Triggering animations with the Play Animation action

Using the Play Animation action you can start any animation clip with all triggers that come with Kanzi.

To trigger an animation with the Play Animation action:

  1. Create an animation clip and the object you want to animate with that animation clip.
  2. Create an object from which you want to trigger the animation and add a trigger to it. See Adding a trigger.
    For example, create a button and use the Button: Click trigger.
  3. In the Properties click the Add drop-down menu, and select the Play Animation action.
    The Message Editor opens.
  4. In the Message Editor > General tab set:
  5. In the Message Editor > Advanced tab set the animation playback settings:

See also

Animating an object for the duration of its lifetime

Changing the interpolation mode between keyframes

Creating animated UI controls

Editing animation clips

Editing timeline sequences

Animating movement

Animating property values

Animations